/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.PLK.violatePLK.violatePLK.impl;

import za.ac.cput.principles.PLK.violatePLK.violatePLK.IviolatePLK;

/**
 *
 * @author Dwayne
 */
public class Mechanic implements IviolatePLK
{       
    @Override
    public boolean CheckEngine() 
    {     
        Context context = new Context();
        Engine engine = new Engine();
        boolean en = engine.getEngine();
        boolean c = context.validate(en);
        if(c == true)
        {        
            return context.checkIfBusted();
        }
        else 
            return false;
    }
}
